{% block meta %}
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<!-- bootstrap & fontawesome -->
<link rel="stylesheet" href="/static/css/bootstrap.min.css" />
<link rel="stylesheet" href="/static/font-awesome/4.5.0/css/font-awesome.min.css" />
<!-- ace styles -->
<link rel="stylesheet" href="/static/css/ace.min.css" class="ace-main-stylesheet" id="main-ace-style" />
<!-- basic scripts -->
<script src="/static/js/jquery-2.1.4.min.js"></script>
{#<script src="https://code.jquery.com/jquery-3.3.1.min.js"#}
{#        integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>#}
{#<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js"#}
{#        integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut"#}
{#        crossorigin="anonymous"></script>#}
{#<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"#}
{#        integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k"#}
{#        crossorigin="anonymous"></script>#}
{#<script src="https://unpkg.com/bootstrap-table@1.15.3/dist/bootstrap-table.min.js"></script>#}
{#  <!-- x-editable (bootstrap version) -->#}
{##}
{#<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.0.1/css/bootstrap.min.css">#}
{#<link href="https://cdn.bootcss.com/bootstrap-table/1.12.1/bootstrap-table.min.css" rel="stylesheet">#}
{#<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>#}
{#<link href="https://cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/bootstrap3-editable/css/bootstrap-editable.css" rel="stylesheet"/>#}
{#<script src="https://cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/bootstrap3-editable/js/bootstrap-editable.min.js"></script>#}


<script src="/static/js/bootstrap.min.js"></script>
<script src="/static/js/ace-extra.min.js"></script>
<!-- page specific plugin scripts -->
<script src="/static/js/jquery.dataTables.min.js"></script>
<script src="/static/js/jquery.dataTables.bootstrap.min.js"></script>
<script src="/static/js/dataTables.buttons.min.js"></script>
<script src="/static/js/dataTables.select.min.js"></script>
<!-- ace scripts -->
<script src="/static/js/moment.min.js"></script>
<script src="/static/js/bootstrap-datepicker.min.js"></script>
<script src="/static/js/bootstrap-datetimepicker.min.js"></script>
<script src="/static/js/bootstrap-datepicker.zh-CN.js"></script>

<link rel="stylesheet" href="/static/css/bootstrap-datepicker3.min.css" />
<link rel="stylesheet" href="/static/css/bootstrap-datetimepicker.min.css" />

<script src="/static/js/ace-elements.min.js"></script>
<script src="/static/js/ace.min.js"></script>
<script src="/static/js/jquery-ui.custom.min.js"></script>
<script src="/static/js/bootbox.js"></script>

<script src="/static/js/buttons.colVis.min.js"></script>
<script src="/static/js/buttons.print.min.js"></script>
<script src="/static/js/buttons.html5.min.js"></script>


<script src="/static/Editor-1.5.4/js/dataTables.editor.js"></script>
<script src="/static/Editor-1.5.4/js/editor.bootstrap.js"></script>
<script src="/static/Editor-1.5.4/js/dataTables.foundation.js"></script>
<script src="/static/Editor-1.5.4/js/dataTables.jqueryui.js"></script>


<script type='text/javascript'>
jQuery(function ($) {
    //初始化窗口。
    $('.modal.aside').ace_aside();
    $('#aside-inside-modal').addClass('aside').ace_aside({container: ""});
    $(document).one('ajaxloadstart.page', function (e) {
        $('.modal.aside').remove();
        $(window).off('.aside')
    });
});

$.extend({
	getUrlVars: function(){
		var vars = [], hash;
		var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
		for(var i = 0; i < hashes.length; i++)
		{
			hash = hashes[i].split('=');
			vars.push(hash[0]);
			vars[hash[0]] = hash[1];
		}
		return vars;
	},
	getUrlVar: function(name){
		return $.getUrlVars()[name];
	}
});

jQuery(function($) {
    $('[data-rel=tooltip]').tooltip();
    $('[data-rel=popover]').popover({html:true});
});
</script>
<style>
	#dynamic-table_filter {display: none;}
</style>
{% end %}